package edu.sctu.practice.class02.xuqianlan.assign.assign01;

/**
 * Created by lenovo on 2015/10/22.
 */
public  abstract class GeometricObject {
      protected String color;
      public double r;
      public double weight;


    protected GeometricObject(String color,double r,double weight){
        this.color=color;
        this.r=r;
        this.weight=weight;

    }

    public double getWeight(){
        return weight;
    }

     abstract double findArea();
    abstract double findPerimeter();


}
